- 
		Home
	
- 
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)
- 
3.0.9
- 
Code
- 
Classes
-  Upgrade 
		
			
				
					
													
								
																			
											| Total Complexity | 125 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 558 | 
																			
											| Lines of code | 375 | 
																			
											| Logical lines of code | 258 | 
																	
							 
													
								
																			
											| Comment lines | 135 | 
																			
											| Methods | 21 | 
																			
											| Properties | 3 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 21
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| prepare_config() | B | 41 | 24 | 44 | 
					
				| migrate_categories() | B | 38 | 19 | 64 | 
					
				| migrate_banners() | A | 48 | 9 | 30 | 
					
				| order_term_by_key() | A | 56 | 8 | 17 | 
					
				| prepare_buttons() | S | 57 | 8 | 14 | 
					
				| add_migration_notice() | S | 50 | 7 | 26 | 
					
				| get_shortcode() | S | 57 | 7 | 18 | 
					
				| get_readmore_link() | S | 56 | 7 | 18 | 
					
				| prepare_contents() | S | 52 | 6 | 22 | 
					
				| revert() | S | 57 | 6 | 15 | 
					
				| migrate() | S | 59 | 6 | 13 | 
					
				| get_revisit_options() | S | 65 | 4 | 8 | 
					
				| get_cookies_by_term() | S | 57 | 2 | 19 | 
					
				| get_old_category_terms() | S | 59 | 2 | 15 | 
					
				| get_preference_center_texts() | S | 64 | 3 | 9 | 
					
				| start_migration() | S | 57 | 1 | 17 | 
					
				| get_button_text() | S | 73 | 2 | 4 | 
					
				| init() | S | 73 | 1 | 5 | 
					
				| clear_existing_categories() | S | 72 | 1 | 5 | 
					
				| migrate_settings() | S | 68 | 1 | 7 | 
					
				| prepare_readmore() | S | 73 | 1 | 5 |